<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<script type="text/javascript">

		
		function say(s){
			switch(s){
				case "星期一":
					return "新的一周开始了！";
					break;
				case "星期二":
				case "星期三":
				case "星期四":
					return "努力工作！";
					break;
				case "星期五":
					return "明天就是周末了";
					break;
				default:
					return "放松的休息！";
					break;
			}
		}
		
		var s = prompt("请输入今天星期几：");
		alert(say(s));
	</script>
	<body>
	</body>
</html>
